# Python Scripts

This folder contains:

- traj-ah-6-full-0.ipynb and

If required, use log_motility_data-6.py to generate the text files that contains the coordinates of the trajectories and the motility parameters. Otherwise, use the provided text files: Saul_Trajectory.txt and Saul_Motility_Parameters.txt.

Then, create a new folder and use traj-ah-6-full-0.ipnyb to generate the trajectory images **only once**. Consider to change the variable "pathfile", that appears on the first line, accordingly to your environment syntaxis; Unix syntaxis was used in the original scprit.

Later, follow the next lines in traj-ah-6-full-0.ipynb to generate the clusters.

Finally, compute the statistics of each group by running the last lines in traj-ah-6-full-0.ipynb; or export the pkl file from pandas to a dataframe to use it in other software, such as R.

---

## Dependencies

You will require:

- Python version 3.8.10 or later, and
- the numpy, pandas and scikit-learn Python libraries.

---

## Contacts

|Name                             |Email Address           |
|---------------------------------|------------------------|
|Eder Alejandro Rodríguez Martínez|eder_rdz_mtz@hotmail.com|
|Andrés Aragón Martínez           |armandres@gmail.com     |
